package ooday05;
/** 季节枚举 */
public enum Season {
    //表示Season固定的四个对象,都是常量
    SPRING("春天","暖和"),
    SUMMER("夏天","热"),
    AUTUMN("秋天","凉爽"),
    WINTER("冬天","冷");

    private String seasinName;
    private String seasonDesc;

    Season(String seasinName, String seasonDesc) {
        this.seasinName = seasinName;
        this.seasonDesc = seasonDesc;
    }

    public String getSeasinName() {
        return seasinName;
    }

    public String getSeasonDesc() {
        return seasonDesc;
    }
}
